History of HTML
Definition
HTML (Hypertext Markup Language) was first proposed by Tim Berners-Lee in 1991 while working at CERN. The first version consisted of 18 elements, primarily focused on scientific documentation. Over the years, HTML has evolved through various versions, with significant updates like HTML4 in 1997, XHTML in 2000, and the current standard HTML5, which was finalized in 2014.
Evolution of HTML
The evolution of HTML has been driven by the need for richer content and better web standards. After HTML 4, which introduced features like frames and stylesheets, the rise of mobile devices and multimedia led to the development of HTML5. This version brought significant enhancements, including:
- New Elements: HTML5 introduced new semantic elements such as
<header>
,<footer>
,<article>
, and<section>
, making it easier to structure web pages. - Audio and Video Support: HTML5 natively supports audio and video playback with the
<audio>
and<video>
tags, eliminating the need for third-party plugins like Flash. - Canvas Element: The
<canvas>
element allows for dynamic, scriptable rendering of 2D shapes and bitmap images, enabling rich graphics and interactive applications. - APIs and Connectivity: HTML5 introduced various APIs such as the Geolocation API, Web Storage, and the Web Workers API, allowing for more interactive and responsive web applications.
Future of HTML
As web technologies continue to evolve, HTML will likely keep adapting to meet new demands. The ongoing development of HTML standards through organizations like the W3C ensures that HTML remains a crucial part of web development, focusing on accessibility, interoperability, and usability.
Algorithm :-
<!DOCTYPE html>
declaration.<html>
tag, add a <head>
section with a <title>
tag for the document title.<body>
section, include a heading tag (<h1>
) and a paragraph (<p>
) with the desired content.Example
<!DOCTYPE html>
<html>
<head><title>HTML 1.0 Document</title></head>
<body>
<h1>This is a Heading from HTML 1.0</h1>
<p>HTML was invented by Tim Berners-Lee.</p>
</body>
</html>